package com.example.administrator.kaohedemo.Action;

import com.example.administrator.kaohedemo.Model.SeeClassRecordAdapterBean;

/**
 * Created by Administrator on 2016/6/24.
 */
public class SeeClassRecordAction extends ActionCreator {
    private static SeeClassRecordAction creator;

    public static SeeClassRecordAction  getInstense(){
        if (creator==null){
            creator=new SeeClassRecordAction();
        }
        return creator;
    }

    public void SendResultFromHttp(String type,String key,String value){
        dispatcher.dispatch(type,key,value);
    }

    public void SendRecordClick(SeeClassRecordAdapterBean bean){
        dispatcher.dispatch(Actions.SeeClassRecordActivity.TYPE_RECORD_CLICK,Actions.SeeClassRecordActivity.KEY_RECORD_CLICK,bean);
    }
}
